package io.renren.modules.student.dao;


import io.renren.modules.school.entity.ProfessionEntity;
import io.renren.modules.school.entity.SchoolPredictor;
import io.renren.modules.school.entity.UniversityEntity;
import io.renren.modules.student.entity.StudentProfession;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StudentDao {

    void saveStudentUniversity(UniversityEntity universityEntity);

    UniversityEntity getNewsStudentUniversity();

    void saveStudentProfession(StudentProfession professionEntity);

    List<UniversityEntity> getUniversityListByStudentId(Integer id);

    List<StudentProfession> getProfessionByUserBackId(@Param("schoolId") Integer schoolId, @Param("userBackId")Integer userBackId);

    List<ProfessionEntity> getProfessionListByUniversityIds(@Param("list")List<SchoolPredictor> list);
}
